package UserPages;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * Created by forgedone on 09.02.14.
 */
public class LoginPage {

    public LoginPage() {
    }

    String adress = "http://vk.com/";

    @FindBy(id="quick_email")
    WebElement loginFieldInput;
    @FindBy(id="quick_pass")
    WebElement passwordFieldInput;
    @FindBy(id="quick_login_button")
    WebElement loginButton;

    //methods

    private void gotoSite(){

    }
    private void EnterLogin(String login){
        loginFieldInput.sendKeys(login);
    }
    private void EnterPassword(String password){
        passwordFieldInput.sendKeys(password);
    }
    private void ClickLoginButton(){
        loginButton.click();
    }



}
